package com.manager.car.service;


import com.manager.car.po.ManagerInfo;
import com.manager.car.util.PageModel;

public interface IManagerInfoService {
	
	//update ManagerInfo
	public ManagerInfo queryManagerInfoById(Integer Id);
	
	//update ManagerInfo
	public boolean updateManager(ManagerInfo mi);
	
	//add ManagerInfo
	public boolean addManager(ManagerInfo mi);
		
	//update ManagerInfoStatic equals 0
	public boolean updateManagerInfoStaticById(Integer id);
	
	//query element by ID
	public boolean getQueryListByHql(ManagerInfo manager);
	
	//query PageModel 
	public PageModel<ManagerInfo> queryPageModelByHql(final int pageNo ,final int pageSize);
	
	//delete 
	public boolean deleteManagerInfoById(Integer id);
}
